Support nocheck in DEB_BUILD_OPTIONS.
authorBernd Zeimetz <bernd@bzed.de>
Fri, 18 May 2012 08:47:23 +0000 (10:47 +0200)
committerBernd Zeimetz <bernd@bzed.de>
Fri, 18 May 2012 08:47:23 +0000 (10:47 +0200)
debian/rules

index 220d5bee29d846d8c745a633541e7cb8479856c4..1652cd0aeab298647365d19be5166a78fd739d61 100755 (executable)
@@ -68,8 +68,10 @@ build-stamp: configure-stamp
 
        # Add here commands to compile the package.
        $(MAKE) -C gpsbabel
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
        chmod u+x gpsbabel/testo
-       $(MAKE) -C gpsbabel check 
+       $(MAKE) -C gpsbabel check
+endif
 
        touch $@